export default {
	getBtnShow(page, action) {
		let menuList = uni.getStorageSync('menuList')
		let obj1 = menuList.find(item => item.component === page)
		if (!obj1) return false
		let obj2 = obj1.subMenus.find(item => item.action === action)
		if (!obj2) return false
		return obj2.enabled == '1'
	}
}